package com.example.demo.pojo;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.Pattern;
import lombok.Data;
import lombok.NonNull;

import java.util.Date;

@Data
public class CService {
    private String sessionid; //主键
    private int status;
    @NotEmpty
    private String content;// 公告内容
    private Date time; // 公告发布时间
}

